﻿// Copyright (c) Inossem. All rights reserved.
// Licensed under the LGPL-3.0 license. See LICENSE file in the project root for full license information.
using DWF.Studio.V8Communicator.Messages.Runtime;
using Newtonsoft.Json;

namespace DWF.Studio.V8Communicator.Messages.Debugger
{
    public class PausedEvent : IV8ResponeseParams
    {
        [JsonProperty("callFrames")]
        public CallFrame[] CallFrames { get; set; }

        [JsonProperty("reason")]
        public string Reason { get; set; }

        [JsonProperty("data")]
        public object Data { get; set; }

        [JsonProperty("hitBreakpoints")]
        public string[] HitBreakpoints { get; set; }

        [JsonProperty("asyncStackTrace")]
        public StackTrace AsyncStackTrace { get; set; }
    }
}